package com.common.error;

import com.common.api.iface.ErrorDescribe;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 权限异常定义
 * @author ficus
 */
@Getter
@AllArgsConstructor
public enum CommonError implements ErrorDescribe {
	codeExist("code00","主键重复,不能保存"),
	codeVlueNotExist("code01","主键值为空,不能保存"),
	;
	
	/**异常编码*/
	private String errorCode;
	
	/**异常信息*/
	private String errorMsg;
}
